package com.yunji.cabinet.dto.device;

import lombok.Data;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2025/1/14 17:15
 * @description : TODO
 **/
@Data
public class DeviceCommandDTO {

    private String imei;
    private String event;
    private String cmd;
    private Integer eventId;
    List<DeviceShoppingDTO> dtoList;

    public DeviceCommandDTO() {}

    public DeviceCommandDTO(String event, String cmd, String imei) {
        this.event = event;
        this.cmd = cmd;
        this.imei = imei;
    }

    public DeviceCommandDTO(String event, String cmd, String imei,List<DeviceShoppingDTO> dtoList) {
        this.event = event;
        this.cmd = cmd;
        this.imei = imei;
        this.dtoList = dtoList;
    }

    @Override
    public String toString() {
        return "CoffeeCommandDTO{" +
                "cmd='" + cmd + '\'' +
                ", imei='" + imei + '\'' +
                '}';
    }

}
